import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import axios from 'axios'
Vue.prototype.$http = axios

//为每一个vue实例对象配置vuerouter
Vue.use(VueRouter);

//配置mintui 全局引入
import Mint from 'mint-ui';
Vue.use(Mint);
//引入mintui的css样式
import '../node_modules/mint-ui/lib/style.css'

//自己引入，需要用的
import '../src/assets/css/cssreset.css'
import '../src/assets/js/iconfont'
// import '../src/assets/js/jquery-3.0.0.min'

import router from './assets/js/router.js'

new Vue({
  el: '#app',
  //render渲染
  render: h => h(App),
  router
})
